mmc: sti_sdhci: Rework sti_mmc_core_config()
authorPatrice Chotard <[email protected]>
Tue, 5 Sep 2017 09:04:18 +0000 (11:04 +0200)
committerTom Rini <[email protected]>
Fri, 22 Sep 2017 11:39:56 +0000 (07:39 -0400)
commit819c626bb0132afadf26061026c1eb6fc3b1efc7
tree33bb7e5d4a4684e95d4d4628c13b08ad3a72bd1f
parent44913a185fc8f0de27c3fcba424309b4e0098a43
mmc: sti_sdhci: Rework sti_mmc_core_config()

Use struct udevice* as input parameter. Previous
parameters are retrieved through plat and priv data.

This to prepare to use the reset framework.

Signed-off-by: Patrice Chotard <[email protected]>
Reviewed-by: Jaehoon Chung <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
drivers/mmc/sti_sdhci.c